#ifndef __SOFT_WS2812_H__
#define __SOFT_WS2812_H__

#include <config.h>

#define WS_LAMP_NUM		38
#define pin_WS 			P54

#define WS_RED			1
#define WS_GREEN		0
#define WS_BLUE			2

struct wsColorStu {
	u8 red;
	u8 green;
	u8 blue;
	
	u8 index;
	u8 x;
	u8 y;
};

void ws_init(void);
void ws_show_cmps(u8 direction);
void ws_show_num(u8 num);

#endif
